export const statusConfig = {
    
    remind: {
        status: 'remind',
        color: '#faa716',
        label: '提醒',
    },
    
    major: {
        status: 'major',
        color: '#ff3f34',
        label: '重要'
    },

    ordinary: {
        status: 'ordinary',
        color: '#2d7aff',
        label: '普通'
    },

    default: {
        status: 'default',
        color: 'gray',
        label: '默认'
    }
}

function getStatus(status='default'){
    let type = statusConfig[status] || statusConfig.default;
    return Object.assign({}, type)
}

export default getStatus;